<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/index.css">
    <title>Document</title>
</head>

<body>
    <section class="warp">
        <header class="header">黑马页面</header>
        <nav class="nav">
            <a href="" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>hr面试</span>
            </a>
            <a href="" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>hr面试</span>
            </a>
            <a href="" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>hr面试</span>
            </a>
            <a href="" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>hr面试</span>
            </a>
            <a href="" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>hr面试</span>
            </a>
            <a href="" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>hr面试</span>
            </a>
        </nav>
        <!-- go -->
        <section class="go">
            <img src="./images/go.png" alt="">
        </section>
    </section>
    <!-- 就业模块 -->
    <section class="content">
        <div class="con-hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span> 就业指导
            </h4>
            <a href="" class="more">跟多>></a>
        </div>
        <!-- 轮播图 -->
        <div class="lunbo">
            <!-- Swiper -->
            <div class="swiper-container lunbo_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">

                        <a href=""><img src="./images/pic.png" alt=""></a>
                        <p>加大了咖啡机见识到了</p>
                    </div>
                    <div class="swiper-slide">

                        <a href=""><img src="./images/ldh.jpg" alt=""></a>
                        <p>加大了咖啡机见识到了</p>
                    </div>
                    <div class="swiper-slide">

                        <a href=""><img src="./images/pic.png" alt=""></a>
                        <p>加大了咖啡机见识到了</p>
                    </div>
                    <div class="swiper-slide">

                        <a href=""><img src="./images/pic.png" alt=""></a>
                        <p>加大了咖啡机见识到了</p>
                    </div>
                    <div class="swiper-slide">

                        <a href=""><img src="./images/pic.png" alt=""></a>
                        <p>加大了咖啡机见识到了</p>
                    </div>
                    <div class="swiper-slide">

                        <a href=""><img src="./images/pic.png" alt=""></a>
                        <p>加大了咖啡机见识到了</p>
                    </div>
                </div>
            </div>
            <div class="swiper-button-prev"></div>
            <!--左箭头。如果放置在swiper-container外面，需要自定义样式。-->
            <div class="swiper-button-next"></div>
            <!--右箭头。如果放置在swiper-container外面，需要自定义样式。-->
        </div>
    </section>
    <!-- 充电模块 -->
    <section class="content">
        <div class="con-hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span> 充电模块
            </h4>
            <a href="" class="more">跟多>></a>
        </div>
        <!-- 轮播图 -->
        <div class="er">
            <!-- Swiper -->
            <div class="swiper-container er_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">

                        <img src="./images/pic1.png" alt="">
                        <h5>低调英语,告别中式英语</h5>
                        <p>156人学校</p>
                    </div>
                    <div class="swiper-slide">

                        <img src="./images/pic2.png" alt="">
                        <h5>低调英语,告别中式英语</h5>
                        <p>156人学校</p>
                    </div>
                    <div class="swiper-slide">

                        <img src="./images/pic2.png" alt="">
                        <h5>低调英语,告别中式英语</h5>
                        <p>156人学校</p>
                    </div>
                    <div class="swiper-slide">

                        <img src="./images/pic1.png" alt="">
                        <h5>低调英语,告别中式英语</h5>
                        <p>156人学校</p>
                    </div>

                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>

        </div>
    </section>
    <!-- 底部 -->
    <footer class="footer">
        <a href="" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
    </footer>
    <script src="js/flexible.js"></script>
    <script src="js/swiper.min.js"></script>
    <script>
        // 沙箱函数
        // 第一个函数 轮播
        (function() {
            var swiper = new Swiper('.lunbo_fo', {
                //显示slider的个数
                slidesPerView: 3,
                //每个slide之间的距离
                spaceBetween: 30,
                // 最大图片显示位置
                centeredSlides: true,
                loop: true,
                //添加箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                    disabledClass: 'my-button-disabled',
                },
            });
        })();
        // 第二个函数 轮播
        (function() {
            // 多个轮播图 需要修改这个类名
            var swiper = new Swiper('.er_fo', {
                slidesPerView: 2.2,
                spaceBetween: 20,

            });
        })();
    </script>
</body>

</html>